/*
 * =====================================================================================
 *
 *       Filename:  ProjectIterator.h
 *
 *    Description:
 *
 *        Version:  1.0
 *        Created:  01/06/2022 12:50:27 PM
 *       Revision:  none
 *       Compiler:  gcc
 *
 *         Author:  first_name last_name (fl), fl@my-company.com
 *        Company:  my-company
 *
 * =====================================================================================
 */
#pragma once
#include "IProjectIterator.h"
#include "IProject.h"
#include <vector>
using std::vector;
class CProjectIterator: public IProjectIterator {
  public:
    CProjectIterator(vector < IProject* >pl);
    ~CProjectIterator(void);
    bool HasNext();
    IProject* Next();
  private:
    vector < IProject* >m_projectList;
    size_t m_currentItem;
};
